package com.wudizaba.pg.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author k
 * @since 2024-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("stored_procedure_drill")
@ApiModel(value="练习生对象", description="")
@AllArgsConstructor
@NoArgsConstructor
public class StoredProcedureDrill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    @ApiModelProperty(value = "id")
    private Integer id;

    @TableField("name")
    @ApiModelProperty(value = "姓名")
    private String name;

    @TableField("age")
    @ApiModelProperty(value = "年龄")
    private Integer age;

    @TableField("exercise_duration")
    @ApiModelProperty(value = "练习时长")
    private String exerciseDuration;

    @TableField("hobbies")
    @ApiModelProperty(value = "爱好")
    private String hobbies;

    @TableField("birth_year")
    @ApiModelProperty(value = "出生年份")
    private LocalDate birthYear;

    @TableField("job")
    @ApiModelProperty(value = "职业")
    private String job;

    @TableField("purses")
    @ApiModelProperty(value = "钱包")
    private Integer[] purses;

    @TableField("very_good_friends")
    @ApiModelProperty(value = "很好的朋友")
    private veryGoodFriends veryGoodFriends;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
